import http from './http.js'

// 用户登录
const adminUserLogin = data =>{
    return http.post('/adminUser/login',data);
}
//用户信息
const adminUserProfile = ()=>{
    return http.get('/adminUser/profile');
}
const logOut = ()=>{
    return http.delete('/logout');
}
export default {
    adminUserLogin,
    adminUserProfile,
    logOut
}